<template>
	<view  class="c">
	<view v-if="status.code==200" class="code">加载完毕!</view>
	<view v-else class="code">加载中...</view>
	<view class="title">{{status.title}}</view>
	<view class="desc">{{status.desc}}</view>
	<view class="btndiv"><text class="btn" v-if="status.showBtn" @click="btnclick">{{status.btnText}}</text>
	</view></view>
</template>


<script>
	export default {
		props: { status: {
	            type: Object,
	            default: {}
	        }
			},methods:{
				btnclick:function(){
					this.$emit('btnclick')
				}
			}
			}
</script>

<style>
	.c{text-align: center; padding-top: 50upx;}
	.code{font-weight: bold;line-height:60upx;}
	.title{font-weight: bold;line-height:50upx;}
	.desc{line-height:40upx;}
	.btn{color: #fff;
    background-color: #09c;padding: 20upx;}
	.btndiv{ padding: 30upx;}
</style>
